﻿using Caltech.Service.Common;
using System;
using System.ComponentModel.DataAnnotations;

namespace Caltech.Models
{
    public class LoginViewModel
    {
        [Required]
        [Display(Name = "User name")]
        public string UserName { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }

        [Display(Name = "Remember me?")]
        public bool RememberMe { get; set; }
    }

    public class AccountInfoModel
    {
        public string Username { get; set; }
        public string FullName { get; set; }
        public string Tel { get; set; }
        public string Mobile { get; set; }
        public string Email { get; set; }
        public string RoleName { get; set; }
        public string Id { get; set; }
        public Areas? Areas { get; set; }
    }
}
